package com.situ.stmall.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.situ.stmall.entity.GoodsSort;
import com.situ.stmall.mapper.GoodsSortMapper;
import com.situ.stmall.service.goodsSortService;

@Service
public class goodsSortServiceImpl implements goodsSortService{
	
	@Autowired
	private GoodsSortMapper goodsSortMapper;

	@Override
	public List getParent() {
		GoodsSort goodsSort = new GoodsSort();
		goodsSort.setStatus(0); //只查询正常的
		return goodsSortMapper.select(goodsSort);
	}

}
